package com.ys.entity.eKnowAi;

import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_eknow].[dbo].EKnow_KnowledgeList", catalog="Id")
public class EKnowKnowledgeList extends BaseEntity<EKnowKnowledgeList> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="ESId", nameJava="eSId", typeDataBase="varchar")
	private String eSId;
	@YsField(nameDataBase="Information", nameJava="information", typeDataBase="text")
	private String information;
	@YsField(nameDataBase="TypeId", nameJava="typeId", typeDataBase="bigint")
	private Long typeId;
	@YsField(nameDataBase="UpdateUserId", nameJava="updateUserId", typeDataBase="varchar")
	private String updateUserId;
	@YsField(nameDataBase="BaseId", nameJava="baseId", typeDataBase="bigint")
	private Long baseId;
	@YsField(nameDataBase="InfoMark", nameJava="infoMark", typeDataBase="varchar")
	private String infoMark;
	@YsField(nameDataBase="SectionId", nameJava="sectionId", typeDataBase="varchar")
	private String sectionId;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public EKnowKnowledgeList setId(Long id) {
		this.id = id;
		return this;
	}
	public String getESId() {
		return eSId;
	}
	public EKnowKnowledgeList setESId(String eSId) {
		this.eSId = eSId;
		return this;
	}
	public String getInformation() {
		return information;
	}
	public EKnowKnowledgeList setInformation(String information) {
		this.information = information;
		return this;
	}
	public Long getTypeId() {
		return typeId;
	}
	public EKnowKnowledgeList setTypeId(Long typeId) {
		this.typeId = typeId;
		return this;
	}
	public String getUpdateUserId() {
		return updateUserId;
	}
	public EKnowKnowledgeList setUpdateUserId(String updateUserId) {
		this.updateUserId = updateUserId;
		return this;
	}
	public Long getBaseId() {
		return baseId;
	}
	public EKnowKnowledgeList setBaseId(Long baseId) {
		this.baseId = baseId;
		return this;
	}
	public String getInfoMark() {
		return infoMark;
	}
	public EKnowKnowledgeList setInfoMark(String infoMark) {
		this.infoMark = infoMark;
		return this;
	}
	public String getSectionId() {
		return sectionId;
	}
	public EKnowKnowledgeList setSectionId(String sectionId) {
		this.sectionId = sectionId;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public EKnowKnowledgeList setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public EKnowKnowledgeList setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public EKnowKnowledgeList setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static EKnowKnowledgeList eKnowKnowledgeList(
		String eSId,
		String information,
		Long typeId,
		String updateUserId,
		Long baseId,
		String infoMark,
		String sectionId,
		Integer status
			) {
		EKnowKnowledgeList entity = new EKnowKnowledgeList();
		entity.setESId(eSId);
		entity.setInformation(information);
		entity.setTypeId(typeId);
		entity.setUpdateUserId(updateUserId);
		entity.setBaseId(baseId);
		entity.setInfoMark(infoMark);
		entity.setSectionId(sectionId);
		entity.setStatus(status);
		return entity;
	}
}